Xbasic
A5DNS::ManagerListCNAMERecords Method
Syntax
.ListCNAMERecords as L (BYREF List as C)
Arguments
- BYREF ListCharacter
A variable into which the list should be placed as a result of the function call.
Returns
- resultLogical
Returns .t. if the call succeeded or .f. if the function call failed. See the contents of the CallResult property for more information on the cause of the error.
Description
ListCNAMERecords creates a list of existing CNAME records.
Example
' List CNAME records. dim cs as c ?A5DNS::Manager::ShowConnectionstringdialog(cs, cs) cs = "Provider='AmazonRoute53';Timeout='10000';AccessKey='kkkkkkkk';SecretKey='ssssssss';Domain='example.com.';" dim dnsm as A5DNS::Manager = null_value() Result = A5DNS::Manager::Open(dnsm,cs) dim Records as C ?dnsm.ListCNAMERecords(Records) ?Records